﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ManagerTarget.aspx.cs" Inherits="sysadmin_TaskManager_ManagerTarget" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>
        <link href="../../css/1/css/css.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
   <table width="100%" border="0" cellpadding="0" cellspacing="0" class="titbg_right">
            <tr>
                <td class="titbg_left">
                    <asp:Label ID="lbl_InfoTitle" runat="server" Text=""></asp:Label>
                </td>
            </tr>
        </table>
        <br />
          <table border="0" cellpadding="0" cellspacing="0" class="btnbg" width="100%">
            <tr>
                <td>
                  <asp:Button ID="btnAddNew" runat="server" Text="添加" CssClass="inputBotton2" 
                        onclick="btnAddNew_Click"  />
                            <asp:Button ID="btn_Back" runat="server" Text="返回" 
                        CssClass="inputBotton2" onclick="btn_Back_Click" 
                        />
                </td>
                </tr>
                </table>
        <asp:Repeater ID="rptTarget" runat="server" 
        OnItemCommand="rptDepartment_ItemCommand" 
        onitemdatabound="rptTarget_ItemDataBound">
            <HeaderTemplate>
                <table width="100%" border="0" cellpadding="0" cellspacing="0" class="mainList">
                <tr>
                    <th>指标名称</th>
                    <th>指标分数</th>
                      <th>所占权重</th>
                      <th>指标类型</th>
                      <th>操作</th>
                </tr>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td >
                    <asp:Label ID="lblTargetFatherID" Text=' <%#Eval("TargetFatherID")%>' runat="Server" Visible="false"></asp:Label>
                       <asp:Label ID="lblTargetName" Text=' <%#Eval("TargetName")%>' runat="Server" ></asp:Label>
                        
                        &nbsp;
                    </td>
                     <td >
                     <asp:Label ID="lblTargetScore" Text=' <%#Eval("TargetScore")%>' runat="Server" ></asp:Label>
                        
                        &nbsp;
                    </td>
                     <td >
                     <asp:Label ID="lblTargetScale" Text=' <%#Eval("TargetScale")%>' runat="Server" ></asp:Label>
                        
                        &nbsp;
                    </td>
                     <td >
                     <asp:Label ID="lblTargetType" Text=' <%#Eval("TargetType")%>' runat="Server" ></asp:Label>
                     <asp:Label ID="lblTargetTypeValue" Text=' <%#Eval("TargetType")%>' Visible="false" runat="Server" ></asp:Label>
                        
                        &nbsp;
                    </td>
                    <td>
                        <asp:Label ID="lblEvateID" Text='<%#Eval("FKTargetEvateID")%>' runat="Server" Visible="false"></asp:Label>
                        <asp:Button ID="btn_Add" runat="server" Text="添加" CommandName="btnadd" CommandArgument='<%#Eval("TargetRemark")%>' 
                            CssClass="inputBotton2" />
                        <asp:Button ID="btn_Editor" runat="server" Text="编辑" CommandName="btnedit" CommandArgument='<%#Eval("TargetRemark")%>' 
                            CssClass="inputBotton2" />
                        <asp:Button ID="btn_del" runat="server" Text="删除" CommandName="btndel" CommandArgument='<%#Eval("TargetID")%>'
                            CssClass="inputBotton2" />
                        <asp:Label ID="lbl_msg_description" runat="server" Text="" ForeColor="Red"></asp:Label>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
        <asp:Label ID="lbl_msg_description" ForeColor="Red" runat="server"></asp:Label>

    </form>
</body>
</html>
